package cn.e4j.modular.crm.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author shixc
 * @since 2019-02-02
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWDA_T")
public class Gwdc001Export extends PO<Gwdc001Export> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWDAENT", type = IdType.INPUT)
    private String GWDAENT;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "单据日期")
    private LocalDate GWDA004;
    
    @Excel(name = "客户")
    private String GWDA002;

    @Excel(name = "客户名称")
    private String GWAKL004;

    @Excel(name = "品号")
    private String GWDA003;

    @Excel(name = "品名")
    private String GWAML003;

    @Excel(name = "规格")
    private String GWAML004;

    @Excel(name = "纳入年度指标否",replace = {"是_Y", "否_N"})
    private String GWDA005;

    @Excel(name = "有效码",replace = {"有效_Y", "无效_N"})
    private String GWDAACTI;

    private String GWDA006;

    private String GWDA007;

    private String GWDA007_NAME;

    private BigDecimal GWDA001;

    @Override
    protected Serializable pkVal() {
        return this.GWDAENT;
    }

}
